package cn.zjitc.exam.dao;

import cn.zjitc.exam.domian.Product;

import java.util.List;

public interface ProductDao {
    List<Product> findAll();

    Product findById(int id);

    boolean update(Product product);

    boolean add(Product product);

    boolean delete(int id);

    int getTotalCount();

    List<Product> findByPage(int start, int pageSide);
}
